﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DesignLayOut_QLQTPM_Team7.Business;
using QLQTPM_ThuDuc_Group7.DTO;


namespace DesignLayOut_QLQTPM_Team7
{
    public class threadImport
    {

        public static int count = 0;
        private List<DuLieuDTO> lstDuLieu;
        
        public threadImport(List<DuLieuDTO> lstDuLieu)
        {
            this.lstDuLieu = lstDuLieu;
        }

        public void importDuLieu()
        {
            count = 0;
            count = DuLieuService.ThemDuLieu(lstDuLieu);
            
        }
        
    }
}
